﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesForm.Model
{
    /// <summary>
    /// 产品数据上传过站
    /// </summary>
    public class OutStationCheckData_Model
    {
        public string groupCode { get; set; }
        public string deviceSn { get; set; }
        public string timeStamp { get; set; }
        public string operatorId { get; set; }
        public string productSn { get; set; }
        public string moNumber { get; set; }
        public string testResult { get; set; }
        public TestData[] testData { get; set; }
        public Environment[] environment { get; set; }
        public StepData[] stepData { get; set; }

        public class TestData
        {
            public string paramCode { get; set; }
            public string paramName { get; set; }
            public string paramValue { get; set; }
            public string paramResult { get; set; }
            public string paramUnit { get; set; }
        }

        public class Environment
        {
            public string paramCode { get; set; }
            public string paramName { get; set; }
            public string paramValue { get; set; }
            public string paramResult { get; set; }
            public string paramUnit { get; set; }
        }

        public class StepData
        {
            public string trayNo { get; set; }
            public string channelNo { get; set; }
            public string batchNo { get; set; }
            public string step { get; set; }
            public string stepName { get; set; }
            public string startDate { get; set; }
            public string endDate { get; set; }
            public string circulatingNumber { get; set; }
            public string turnTime { get; set; }
            public string endElectricity { get; set; }
            public string capacity { get; set; }
            public string energy { get; set; }
            public string constantCurrent { get; set; }
            public string startVol { get; set; }
            public string midVol { get; set; }
            public string endVol { get; set; }
            public string chargeElectricity { get; set; }
            public string marking { get; set; }
            public string avgvol { get; set; }
            public string endTemperature { get; set; }
            public string upLoadPath { get; set; }
            public string maxHousetemp { get; set; }
            public string minHousetemp { get; set; }
            public string maxCellTemperature { get; set; }
            public string minCellTemperature { get; set; }
            public string startCellTemperature { get; set; }
            public string endCellTemperature { get; set; }
            public string startFirstHousetemp { get; set; }
            public string endFirstHousetemp { get; set; }
            public string startAfterHousetemp { get; set; }
            public string endAfterHousetemp { get; set; }
        }
    }

    public class OutStationCheckDataResult
    {
        /// <summary>
        /// 接口执行结果
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 返回信息
        /// </summary>
        public string result { get; set; }
        /// <summary>
        /// 测试结果
        /// </summary>
        public string testResult { get; set; }
        /// <summary>
        /// 详细测试结果
        /// </summary>
        public List<OutStationCheckDataResultParam> testResultDetails { get; set; }
    }
    /// <summary>
    /// 产品数据上传过站测试结果参数
    /// </summary>
    public class OutStationCheckDataResultParam
    {

    }

}
